# coding=utf-8

# 显示helloworld
from django.http import HttpResponse

# 测试
from django.shortcuts import render
# from . import models

def index_view(request):
    # m = request.method
    # if m == 'GET':
    #     return render(request,'register.html')
    # else:
    #     #获取请求参数
    #     uname = request.POST.get('uname','')
    #     pwd = request.POST.get('pwd','')
    #     #判断
    #     if uname and pwd:
    #         #创建模型对象
    #         cpeople = cpeople()
    #
    #     return HttpResponse("处理注册功能")

    return HttpResponse("hello world")

